package com.tan.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author Administrator
 * @TableName user
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @ExcelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @ExcelProperty(value = "NAME")
    @TableField(value = "NAME")
    private String name;

    /**
     * 
     */
    @ExcelProperty(value = "AGE")
    @TableField(value = "AGE")
    private Integer age;

    /**
     * 
     */
    @ExcelProperty(value = "EMAIL")
    @TableField(value = "EMAIL")
    private String email;

    /**
     * 
     */
    @ExcelProperty(value = "create_time")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @ExcelProperty(value = "update_time")
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}